hvm: passthrough MSI-X mask bit acceleration
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 2 Mar 2009 10:26:37 +0000 (10:26 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 2 Mar 2009 10:26:37 +0000 (10:26 +0000)
commit34097f0d30802ecdc6da79658090fab9479a0c1c
tree423d444c93600913ad32934d48c52bfca0694f64
parentec9db49cf0ecd3edc6a8f34dec1e6688f8bdbb35
hvm: passthrough MSI-X mask bit acceleration

Add a new parameter to DOMCTL_bind_pt_irq to allow Xen to know the
guest physical address of MSI-X table. Also add a new MMIO intercept
handler to intercept that gpa in order to handle MSI-X vector mask
bit operation in the hypervisor. This reduces the load of device model
considerably if the guest does mask and unmask frequently

Signed-off-by: Qing He <qing.he@intel.com>
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/intercept.c
xen/arch/x86/hvm/vmsi.c
xen/arch/x86/msi.c
xen/drivers/passthrough/io.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/msi.h
xen/include/public/domctl.h
xen/include/xen/pci.h